﻿using Common.dto;
using WebApi.model;

namespace WebApi.utils;

public class SecurityContextHolder
{
    private static ThreadLocal<UserDto> UserDtoThreadLocal = new ThreadLocal<UserDto>();

    public static void Set(UserDto userDto)
    {
        UserDtoThreadLocal.Value = userDto;
    }
}